import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';
var Ghfa7zgfComponentViewmodel = /** @class */ (function (_super) {
    tslib_1.__extends(Ghfa7zgfComponentViewmodel, _super);
    function Ghfa7zgfComponentViewmodel() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.bindingPath = '/ghfas';
        _this.dom = {};
        return _this;
    }
    Ghfa7zgfComponentViewmodel.prototype.ghfa7zgfAddFileRows = function (commandParam) { return; };
    Ghfa7zgfComponentViewmodel.prototype.ghfa7zgfRemoveFileRows = function (commandParam) { return; };
    tslib_1.__decorate([
        NgCommand({
            name: 'ghfa7zgfAddFileRows',
            params: {
                fileInfoFieldPath: '/ghfas/fjxx'
            },
            paramDescriptions: {
                fileInfoFieldPath: { type: 'string' }
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], Ghfa7zgfComponentViewmodel.prototype, "ghfa7zgfAddFileRows", null);
    tslib_1.__decorate([
        NgCommand({
            name: 'ghfa7zgfRemoveFileRows',
            params: {
                fileInfoFieldPath: '/ghfas/fjxx'
            },
            paramDescriptions: {
                fileInfoFieldPath: { type: 'string' }
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], Ghfa7zgfComponentViewmodel.prototype, "ghfa7zgfRemoveFileRows", null);
    Ghfa7zgfComponentViewmodel = tslib_1.__decorate([
        Injectable()
    ], Ghfa7zgfComponentViewmodel);
    return Ghfa7zgfComponentViewmodel;
}(ViewModel));
export { Ghfa7zgfComponentViewmodel };
